package com.codejoys.monitor.service;

import com.codejoys.monitor.domain.Device;
import com.codejoys.monitor.domain.DeviceData;
import com.codejoys.monitor.dto.DeviceDto;
import com.codejoys.monitor.dto.PageData;

import java.util.List;

public interface ChannelService {
    Device findBySn(String sn);
    PageData<DeviceDto> findList(DeviceDto device, Integer page, Integer size);
}
